<?php

namespace App\Models;

class UnionOrder extends Base
{
    public $timestamps = false;

    const TYPE_COOKBOOK = 1;
    const TYPE_MALL = 2;
    const TYPE_VIP = 3;
    const TYPE_DAREN = 8;

    const TYPE_ADV = 6;
    const TYPE_COOKBOOK_VIDEO = 7;



    public function getAmountAttribute($amount) {
        return format_yuan($amount);
    }

}
